Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Printing /
Chapter 2 - Core Printing Features / Core Printing Features Reference
Constants and Data Types


Dialog Box Results

QuickDraw GX print dialog boxes support dialog box results. Results are defined in the dialog box result enumeration.

enum {
   gxCancelSelected  = (gxDialogResult) 0,
   gxOKSelected      = (gxDialogResult) 1,
   gxRevertSelected  = (gxDialogResult) 2
};

typedef long gxDialogResult;
Constant descriptions

gxCancelSelected
Represents a cancelation of the dialog box without action being taken, such as when the user chooses Cancel or presses Escape while in a dialog box.
gxOKSelected
Represents a confirmation, such as when the user chooses Format in the Page Setup dialog box.
gxRevertSelected
Represents a request to undo one or more actions, such as when the user chooses Remove to remove a page format while in the Custom Page Setup dialog box.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help